Accusoft.ImagXpress12.Net
Display Image
See Also Send Feedback
ImagXpress 12 for .NET - User Guide > How To > View an Image > Display Image

Glossary Item Box

Display an Image in the Viewer

To display an image in the viewer,

  1. Ensure that ImageXView.AllowUpdate property is set to True. AllowUpdate specifies that the viewer (ImageXView object) will update whenever there is a request to paint. 
  2. Verify that ImageX.AutoInvalidate property is True. AutoInvalidate specifies that the image (ImageX object) will notify any ImageXView objects actively displaying the ImageX image to perform a repaint whenever there is a change to the image.
  3. Then assign ImageXView.Image property to an ImageX object. This image displays when the control window next paints.   

Display a Part of an Image in the Viewer

To display a part of an image in the viewer, set the ClipRectangle property to the portion of the image to be displayed. The ClipRectangle property defines the portion of the image accessible to the viewer. If the ClipRectangle is smaller than the image, then the viewed image crops to the dimensions specified by ClipRectangle. This cropped image is then available in the viewer to be zoomed, scrolled, etc.     

Display Different Images within one Viewer

To display a different image within a View window, assign ImageXView.Image to a different ImageX object. This image displays when the control window next paints.  

Display Multiple Simultaneous Views of the Same Image 

Each ImageXView object can display only one image at a time. Sometimes it is necessary to display multiple views of the same image. A typical use would be to display a "before" and "after" view (with some image rendering options changed) of an image. 

To view the same image using multiple ImageXView objects, set the Image property within both ImageXView objects to the same image.  

Display Image Information in the Control Window

To display a dialog box with information about the image being displayed, call the ImageXView.ShowImageInfo method. This method displays ImageXData characteristics for the image currently assigned to the ImageXView object. 

See Also

©2013. Accusoft Corporation. All Rights Reserved.